<?php
if (arg(0) == 'all-properties') {
  print theme('hori_search', $rendered);
}
elseif (arg(0) == 'advanced-search' ) {
  print theme('adv_search', $rendered);
}
else {
  print theme('vert_search', $rendered);
}
?>